//
//  GADService.h
//  AppFrameWork
//
//  Created by Le Anh Tai on 4/26/13.
//  Copyright (c) 2013 Le Anh Tai. All rights reserved.
//
//------------Important------------
//Framework required:
//  AdSupport
//  MessageUI
//  StoreKit
//  AudioToolbox
//  SystemConfiguration
//  add -objc in Other Linker Flags.
//  Clean, delete app and build.


#import <Foundation/Foundation.h>
#import "GADBannerView.h"

#define GAD_ID @"224aa7f405274b7d"

@interface GADService : NSObject<GADBannerViewDelegate>{

}

@property (nonatomic,strong) GADBannerView *bannerView;

+(GADService*) shared;
//anchor point is top left cornor of GAD
- (void) showGADAt:(CGPoint) aPos andRootViewController:(UIViewController*) aRootController;
- (void) showGADAtTopWithRootViewController:(UIViewController*) aRootController;
- (void) showGADAtBottomWithRootViewController:(UIViewController*) aRootController;
@end
